package com.base.service;

import com.base.po.tbk.TbkChoiceActivity;
import com.base.po.tbk.TbkChoiceActivityExample;
import com.base.utils.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TbkChoiceActivityService {
    int countByExample(TbkChoiceActivityExample example);

    int deleteByExample(TbkChoiceActivityExample example);

    int insert(TbkChoiceActivity record);

    int insertSelective(TbkChoiceActivity record);

    List<TbkChoiceActivity> selectAll(@Param("page") Page page, @Param("parentid") String parentid);

    List<TbkChoiceActivity> selectByExample(TbkChoiceActivityExample example);

    TbkChoiceActivity selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") TbkChoiceActivity record, @Param("example") TbkChoiceActivityExample example);

    int updateByExample(@Param("record") TbkChoiceActivity record, @Param("example") TbkChoiceActivityExample example);

    int updateByPrimaryKeySelective(TbkChoiceActivity record);

    int countAll(@Param("parentid") String parentid);
}